package com.leo.imp;

import com.leo.abs.LUnaryOpr;
import com.leo.abs.OperateException;
import com.leo.abs.Operator;

public class Square extends LUnaryOpr {

	public Square(){
		token = "s";
	}
	@Override
	public double operate(double a) throws OperateException {
		return a*a;
	}

}
